import info from 'info';
class userInfo {
    public name: string = '付强';
    private age: number = 25;
    protected sex: string = '男';
    constructor(private info: info) { }
    getName() {
        return this.name;
    }
    getAge() {
        return this.age;
    }
    getSex() {
        return this.sex;
    }
    setName() {
        this.name = 'New User Name';
        this.info.log();
    }
}
